/*
 * @Title: 赚取抽奖机会
 * @Author: JSL
 * @Date:   2018-12-24
 * @Last Modified by:   JSL
 * @Last Modified time: 2018-12-24
 */

var dataInfo = new Object(),
  template = {
    init: function() {
      dataInfo.init = new Vue({
        el: '#app',
        data: {},
        methods: {
          toShare: function() { //去分享 - 票选活动页
            // location.href = '../html/FXPTVoteProducts.html';
            location.href = '../html/FPtVoteProducts.html?needShare=1';
          },
          toQd: function() { //去签到
            this.$dialog.confirm({
              title: '下载姿美汇APP，每日签到抽大奖！',
              message: ''
            }).then(() => {
              downAppFun();
            }).catch(() => {
              // on cancel
            });

          },
        }
      });
    },
  };

template.init();
